var appConfig = {
    	        qiniuPath: '${config.qiuniuBasePath}',
    	        qiniuImgStyle: '-pw',
    	        wwwPath: '${config.siteUrl}',
    	        staticPath: '${config.staticWebSite}'
     }
      var versionjson={"childId":${child.id},"version":${version}};
      $.ajax({
          type: "post",
          url: "/child/findEvalValue/" + JSON.stringify(versionjson),
          success: function (json) {
              $.alert.ajaxSuccess(json);
              var info = json.data;
              // 标签
              for(var i = 0, len = info.length; i < len ; i ++){
                  if(info[i].value=="on"){
                	  $("#"+info[i].htmlId).removeClass("fa fa-square-o fa-2x");
                	  $("#"+info[i].htmlId).addClass("fa fa-check-square-o fa-2x");
                  }else{
                	  $("#"+info[i].htmlId).val(info[i].value);
                	  
                  }
                  
              }
              
              $("#select_trainer").attr("value",'${trainer}');
              $("#select_advocate").attr("value",'${advocate}');
              $("#select_evaldate").attr("value",new Date('${evaldate}').format("yyyy-MM-dd"));
          },
          error: $.alert.ajaxError
      }); 